package com.qzw.pojo;

import javax.management.relation.Role;
import java.util.HashSet;
import java.util.Set;


public class Player {
    private Integer pid;
    private String pname;
    private String gender;

    Set<Role> roles=new HashSet<Role>();

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Set<Role> getRoles() {
        return roles;
    }

    public void setRoles(Set<Role> roles) {
        this.roles = roles;
    }

    @Override
    public String toString() {
        return "Player{" +
                "pid=" + pid +
                ", name='" + pname + '\'' +
                '}';
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }


}